#include <stddef.h>

#include "system.h"
#include "altera_avalon_pio_regs.h"
#include "alt_types.h"

#include "7seg.h"
#include "core.h"
#include "globals.h"
#include "keypad.h"
#include "lcd.h"
#include "pwms.h"
#include "recording.h"

void StartRecording(void)
{
    HomePWMs();
    EnableRecording();
    
    Write7Seg("00A0");
    return;
}

void StopRecording(void)
{
    DisableRecording();
    
    Write7Seg("00A1");
    return;
}

void Play(void)
{
    Home();
    Write7Seg("00B0");
    return;
}
